//
//  SkuModel.m
//  sensen_ios
//
//  Created by pro on 16/3/9.
//  Copyright © 2016年 pro. All rights reserved.
//

#import "SkuModel.h"

@implementation SkuModel

- (void)setAttributes:(NSDictionary *)jsonDic {
    
    [super setAttributes:jsonDic];
    
    self.icon_url = BOYE_PICTURE_VIEW_URL(jsonDic[@"icon_url"]);

    
    self.ori_price = [NSString stringWithFormat:@"%.2f", [jsonDic[@"ori_price"] floatValue] / 100];
    self.price = [NSString stringWithFormat:@"%.2f", [jsonDic[@"price"] floatValue] / 100];
}

@end
